package service;

import org.apache.ibatis.session.SqlSession;

import dao.LogDao;
import util.MybatisSessionFactory;

public class LogService {
	SqlSession Session = MybatisSessionFactory.getSqlSession();
	LogDao  dao2=Session.getMapper(LogDao.class);
	public void insert(String user_id ,String archive_id,String operation ){
		dao2.insert(user_id,archive_id, operation);
		Session.commit();
	}
}
